package cn.sumpu.app.coolsk.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.coolsk.domain.Keep;
import cn.sumpu.app.coolsk.exception.AppBusinessException;

public interface KeepDao {
	//
	public int insert(Keep keep)throws AppBusinessException;
	//
	public int getKeepCountByMid(Map<String, Object> map)throws AppBusinessException;
	//
	public List<Keep> getKeepListByMid(Map<String, Object> map) throws AppBusinessException;
	//
	public Keep getKeep(Map<String, Object> map) throws AppBusinessException;
	//
	public void deleteKeep(Map<String,Object> map)throws AppBusinessException;

}
